package zilvic.resources.sprites;

import java.awt.Graphics;
import org.duncan.Math2D.Point2D;

/**
 *
 * @author Duncan
 */
public abstract interface Drawable {
    /**
     * Draw the drawable onto the graphics context provided
     *
     * @param g The graphics context on which to draw the drawable
     * @param position The location at which to draw the drawable
     * @return A reference to this.
     */
    public abstract Drawable draw(Graphics g, Point2D position, byte step, byte direction);
}
